//
//  M1UserAgreeVC.m
//  NewMarryU
//
//  Created by apple on 2018/7/24.
//  Copyright © 2018年 Cedar. All rights reserved.
//

#import "M1UserAgreeVC.h"

@interface M1UserAgreeVC ()

@end

@implementation M1UserAgreeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"用户协议";
    UIWebView *m1_webView = [[UIWebView alloc]init];
    m1_webView.scrollView.backgroundColor = m1_bg_color;
    m1_webView.backgroundColor = m1_bg_color;
    [self.view addSubview:m1_webView];
    [m1_webView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_offset(UIEdgeInsetsMake(m1_NAV_HEIGHT, 0, 0, 0));
    }];
    NSURL *filePath = [[NSBundle mainBundle] URLForResource:@"M1userAgree.html" withExtension:nil];
    NSURLRequest *request = [NSURLRequest requestWithURL:filePath];
    [m1_webView loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
